package com.xiaoming.freshmenapp.bean;

public class MessagesBean {


    /**
     * msg : 成功
     * data : {"id":9,"title":"这是一条新的数据","content":"类容那日荣","postDate":"2002-02-22 11:02:22","name":"你大爷"}
     * success : true
     */

    private String msg;
    private DataBean data;
    private boolean success;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * id : 9
         * title : 这是一条新的数据
         * content : 类容那日荣
         * postDate : 2002-02-22 11:02:22
         * name : 你大爷
         */

        private int id;
        private String title;
        private String content;
        private String postDate;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getPostDate() {
            return postDate;
        }

        public void setPostDate(String postDate) {
            this.postDate = postDate;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
